home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>15</cardCount>
- <cardID>4369</cardID>
- <listID>3546</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>-- distribute -- Prepare stack for distribution. This handler strips
- -- all "personal" information from the Check Writer and Check Register
- -- stacks to create copies suitable for distribution. To make a
- -- distribution copy, first copy the two stacks (since you don't want
- -- to delete all the data from your "real" copies). Put the
- -- distribution copies into a folder different from your real copies
- -- and make sure their names are "Check Writer" and "Check Register".
- -- Then just open the distribution "Check Writer" stack, show the
- -- message box, and enter the command "distribute". Then watch the
- -- show.
-
- on distribute
-
- hide msg -- So we can see better
- answer "OK to delete all data?"
- if it is empty then exit distribute
- set lockMessages to true
-
- -- Clear the printing template.
-
- go to card "Template"
- get empty
- put it into card field "Date"
- put it into card field "Year"
- put it into card field "Pay To"
- put it into card field "Amount"
- put it into card field "Text Amount"
- put it into card field "For"
-
- -- Delete all but the first check.
-
- go to second card of bkgnd "Check"
- if the result is empty then
- repeat with i = the number of this card ¬
- to the number of last card of bkgnd "Check"
- doMenu "Delete Card"
- end repeat
- end if
-
- -- Compact the Writer stack.
-
- go to first card
- doMenu "Compact Stack"
-
- -- Do distribution stuff for check register.
-
- go to stack "Check Register"
- send "distribute" to stack "Check Register"
-
- set lockMessages to false
- end distribute
-
-
- -- newVersion -- Store a new version number.
-
- on newVersion
- hide msg -- So we can see better
- go to first card
- ask "What is the new version number?" with "nn.nn"
- if it is empty then exit newVersion
- put "Version " & it into version
- put version into card field "version"
- go to card "ShareWare"
- put version into card field "version"
- go to card "address"
- put version into card field "version"
- go to stack "Check Register"
- send "newVersion" && quote & version & quote to stack "Check Register"
- go to stack "Check Writer"
- end newVersion
-
- </script>
- <background id="2720" file="background_2720.xml" name="Check" />
- <background id="3629" file="background_3629.xml" name="plain" />
- <background id="6840" file="background_6840.xml" name="help" />
- <card id="4369" file="card_4369.xml" marked="false" name="" owner="3629" />
- <card id="2465" file="card_2465.xml" marked="false" name="ShareWare" owner="3629" />
- <card id="7395" file="card_7395.xml" marked="false" name="Help" owner="6840" />
- <card id="7114" file="card_7114.xml" marked="false" name="" owner="6840" />
- <card id="7866" file="card_7866.xml" marked="false" name="" owner="6840" />
- <card id="7942" file="card_7942.xml" marked="false" name="" owner="6840" />
- <card id="8512" file="card_8512.xml" marked="false" name="" owner="6840" />
- <card id="8954" file="card_8954.xml" marked="false" name="" owner="6840" />
- <card id="9213" file="card_9213.xml" marked="false" name="" owner="6840" />
- <card id="9443" file="card_9443.xml" marked="false" name="" owner="6840" />
- <card id="12510" file="card_12510.xml" marked="false" name="" owner="6840" />
- <card id="9647" file="card_9647.xml" marked="false" name="address" owner="3629" />
- <card id="4208" file="card_4208.xml" marked="false" name="Template" owner="3629" />
- <card id="5348" file="card_5348.xml" marked="false" name="print" owner="3629" />
- <card id="6363" file="card_6363.xml" marked="false" name="" owner="2720" />
- </stack>
-